/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.winner.lps.modules.app.service;

import com.winner.lps.common.persistence.Page;
import com.winner.lps.common.service.CrudService;
import com.winner.lps.modules.app.dao.AppPersonnelDao;
import com.winner.lps.modules.app.entity.AppPersonnel;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 保障人员管理Service
 *
 * @author 程少威
 * @version 2017-04-09
 */
@Service
@Transactional(readOnly = true)
public class AppPersonnelService extends CrudService<AppPersonnelDao, AppPersonnel> {

    public AppPersonnel get(String id) {
        return super.get(id);
    }

    public List<AppPersonnel> findList(AppPersonnel appPersonnel) {
        return super.findList(appPersonnel);
    }

    public Page<AppPersonnel> findPage(Page<AppPersonnel> page, AppPersonnel appPersonnel) {
        return super.findPage(page, appPersonnel);
    }

    @Transactional(readOnly = false)
    public void save(AppPersonnel appPersonnel) {
        super.save(appPersonnel);
    }

    @Transactional(readOnly = false)
    public void delete(AppPersonnel appPersonnel) {
        super.delete(appPersonnel);
    }

}